<div id="top_action_menu_wrap">
<ul id="top_action_menu_ul">
    <?  foreach ($menu as $v):?>
    <li<?foreach($v['properties'] as $k=>$vv){ echo" $k=\"$vv\"";}?>>
        <a href="<?=$v['url']?>"><?=$v['text']?></a>
    </li>
    <?  endforeach;?>
</ul>
</div>